import api from './index'


export default {
	//Banner图查询
	getAxbanner: data => api.get("/ax/axbanner/list", data),
	//首页分类
	getList: data => api.get("/ax/axGoodClassify/list", data),
	//商品列表
	// getArray: data => api.get("/ax/axRound/applist", data),
	//津贴商品列表
	getSubsidyByArray: data => api.get("/ax/axGood/list", data),
	//订单
	addBuy: data => api.post("/ax/axOrder/buyGood", data),
	//商品信息列表展示
	// getGood: data => api.get("/ax/axGood/applist", data),
	getGood: data => api.get("/ax/axGood/platformBlist", data),
	//商品信息
	getIdGood: (id) => api.get(`/ax/axGood/${id}`),
	//获取可出售商品信息
	getIdByGoodAndSell: data => api.get("/ax/axGood/getAbleSelledInfo", data),
	//商品页出售商品
	setSellAndIdByGood: data => api.post("/ax/axGood/sellGood", data),
	//公告
	getNotice: data => api.get("/system/notice/list", data),

}